import { defineStore } from "pinia";
export const useStore=defineStore("menu",{
	state:()=>({
		class:"hide",
		leftClass:"hide"
	}),
	actions:{
		setMenu(){
			this.class=this.class===""?"hide":""
			this.leftClass=this.leftClass===""?"hide":""
		},
		hideMenu(){
			this.leftClass="hide"
			this.class="hide"
		},
		showMenu(){
			this.leftClass=""
			this.class=""
		}
	}
})